/**
  1、运行指令 (https://webpack.docschina.org/api/cli/#commands)
    开发环境
      webpack ./src/index.js -o ./build/build.js --mode=development

    生成环境
      webpack ./src/index.js -o ./build/build.js --mode=production
 */

import './index.css'

import data from './data.json'
console.log(data)

function add(x, y) {
  return x + y
}

console.log( add(1, 2) )